package demo.InterfaceDamo;

public class Student {
    private String name; // 姓名
    private char sex; // 性别
    private double score; // 承接

    public Student() {
    }

    public Student( String name, char sex, double score ) {
        this.name = name;
        this.sex = sex;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName( String name ) {
        this.name = name;
    }

    public char getSex() {
        return sex;
    }

    public void setSex( char sex ) {
        this.sex = sex;
    }

    public double getScore() {
        return score;
    }

    public void setScore( double score ) {
        this.score = score;
    }
}
